-- GENERATED SPELL FOR [Felboar] --


function spell0_21878(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(35570,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21878', 2272, 1)
end

function Sorts_21878(pUnit, Event)
local choix_sorts_21878 = math.random(0, 0)
if choix_sorts_21878 == 0 then
pUnit:RegisterEvent('spell0_21878', 1, 1)
end
end

function mob21878_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21878', math.random(1500, 3000), 1)
end

function mob21878_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21878_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21878_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21878, 1, 'mob21878_Action')
RegisterUnitEvent(21878, 2, 'mob21878_Leave')
RegisterUnitEvent(21878, 3, 'mob21878_Kill')
RegisterUnitEvent(21878, 4, 'mob21878_Die')
